package org.jeecg.modules.building.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 房屋明细表
 * @Author: jeecg-boot
 * @Date: 2025-04-23
 * @Version: V1.0
 */
@Data
@TableName("tb_building")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "tb_building对象", description = "房屋明细表")
public class TbBuilding implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**
     * 所属部门
     */
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    /**
     * 企业名称
     */
    @Excel(name = "企业名称", width = 15)
    @ApiModelProperty(value = "企业名称")
    private java.lang.String companyName;
    /**
     * 企业级次
     */
    @Excel(name = "企业级次", width = 15)
    @ApiModelProperty(value = "企业级次")
    private java.lang.String companyLevel;
    /**
     * 企业编码
     */
    @Excel(name = "企业编码", width = 15)
    @ApiModelProperty(value = "企业编码")
    private java.lang.String code;
    /**
     * 资产名称
     */
    @Excel(name = "资产名称", width = 15)
    @ApiModelProperty(value = "资产名称")
    private java.lang.String assetName;
    /**
     * 坐落位置
     */
    @Excel(name = "坐落位置", width = 15)
    @ApiModelProperty(value = "坐落位置")
    private java.lang.String location;
    /**
     * 取得时间
     */
    @Excel(name = "取得时间", width = 15)
    @ApiModelProperty(value = "取得时间")
    private java.lang.String getTime;
    /**
     * 取得方式
     */
    @Excel(name = "取得方式", width = 15, dicCode = "get_method")
    @Dict(dicCode = "get_method")
    @ApiModelProperty(value = "取得方式")
    private java.lang.String getMethod;
    /**
     * 资产性质
     */
    @Excel(name = "资产性质", width = 15, dicCode = "asset_nature")
    @Dict(dicCode = "asset_nature")
    @ApiModelProperty(value = "资产性质")
    private java.lang.String assetProperty;
    /**
     * 用途
     */
    @Excel(name = "用途", width = 15, dicCode = "use_method")
    @Dict(dicCode = "use_method")
    @ApiModelProperty(value = "用途")
    private java.lang.String useMethod;
    /**
     * 使用状态
     */
    @Excel(name = "使用状态", width = 15, dicCode = "use_status")
    @Dict(dicCode = "use_status")
    @ApiModelProperty(value = "使用状态")
    private java.lang.String useStatus;
    /**
     * 资产状态
     */
    @Excel(name = "资产状态", width = 15, dicCode = "asset_status")
    @Dict(dicCode = "asset_status")
    @ApiModelProperty(value = "资产状态")
    private java.lang.String assetStatus;
    /**
     * 单位
     */
    @Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "单位")
    private java.lang.String unit;
    /**
     * 面积
     */
    @Excel(name = "面积", width = 20, numFormat = "0.0000")
    @ApiModelProperty(value = "面积")
    private java.math.BigDecimal bookArea;
    /**
     * 原值
     */
    @Excel(name = "原值", width = 20, numFormat = "0.0000")
    @ApiModelProperty(value = "原值")
    private java.math.BigDecimal bookOriginalValue;
    /**
     * 净值
     */
    @Excel(name = "净值", width = 20, numFormat = "0.0000")
    @ApiModelProperty(value = "净值")
    private java.math.BigDecimal bookNetValue;
    /**
     * 证件类型
     */
    @Excel(name = "证件类型", width = 15)
    @ApiModelProperty(value = "证件类型")
    private java.lang.String cardType;
    /**
     * 有证面积
     */
    @Excel(name = "有证面积", width = 20, numFormat = "0.0000")
    @ApiModelProperty(value = "有证面积")
    private java.math.BigDecimal cardArea;
    /**
     * 无证面积
     */
    @Excel(name = "无证面积", width = 20, numFormat = "0.0000")
    @ApiModelProperty(value = "无证面积")
    private java.math.BigDecimal noCardArea;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
}
